{% extends "application01/base.html" %}
{% load django_bootstrap5 %}
{% block content %}
<div class="container mt-5">
    <h2 class="mb-4">添加新主题：</h2>
    <form action="{% url 'application01:new_topic' %}" method="post" class="mb-5 needs-validation" novalidate>
        {% csrf_token %}
        {% bootstrap_form form layout='horizontal' %}
        {% bootstrap_button button_type="submit" content="添加主题" %}
    </form>
</div>
{% endblock content %}